package com.winsdom.service.impl;

import com.winsdom.entity.SysRolePermission;
import com.winsdom.mapper.SysRolePermissionMapper;
import com.winsdom.service.ISysRolePermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色权限关联表 服务实现类
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Service
public class SysRolePermissionServiceImpl extends ServiceImpl<SysRolePermissionMapper, SysRolePermission> implements ISysRolePermissionService {
    @Autowired
    private SysRolePermissionMapper permissionMapper;
    @Override
    public List<SysRolePermission> listSysRolePermission(Long id){
        return permissionMapper.listSysRolePermission(id);
    };
}
